<?php

/**
 * @package		Joomla.Site
 * @subpackage	com_content
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;
$class = ' class="first"';
if (count($this->items[$this->parent->id]) > 0 && $this->maxLevelcat != 0) :
?>
<table class="mr40" cellspacing="10px" >

<?php

$count = 0;
$half = round(count($this->items[$this->parent->id])/2, 0 )-1;


foreach($this->items[$this->parent->id] as $id => $item) : ?>



	<tr><td><a target="_blank" href="http://<?php echo $item->note; ?>"><?php echo $this->escape($item->title); ?></a></td><td> </td></tr>
	
	<?php if($count == $half) echo '</table><table>'; $count++; ?>
	
<?php endforeach;  echo '</table>';?>

<?php endif; ?>


